<?php
Yii::app()->clientScript->registerScriptFile('https://maps.googleapis.com/maps/api/js?sensor=true&language=es');
//Yii::app()->clientScript->registerScriptFile('https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true');
$cs = Yii::app()->getClientScript();
$baseUrl = Yii::app()->theme->baseUrl;
$assetjs = "/js/site/informacionEmpresa.js";
Yii::app()->clientScript->registerScriptFile($baseUrl . $assetjs);
?>
<script>
    var empresas =<?php echo json_encode($points); ?>
</script>
<section class="main-container">

    <div class="container">
        <div class="row">

            <!-- main start -->
            <!-- ================ -->
            <div class="main col-md-12">

                <!-- page-title start -->
                <!-- ================ -->
                <h1 class="page-title margin-top-clear"><?php echo $informacionEmpresa->nombre ?></h1>
                <!-- page-title end -->
                <div class="row">
                    <div class="col-md-6">
                        <h3>Información General</h3>
                        <div class="separator-2"></div>
                        <p><?php echo $informacionEmpresa->descripcion ?>.</p>
                        <p><h3>Horarios de Atención:</h3></p>
                        <p><?php echo $informacionEmpresa->atencion ?>.</p>
                    </div>
                    <div class="col-md-6">
                        <!-- Nav tabs -->
                        <ul class="nav nav-pills white space-top" role="tablist">
                            <li class="active"><a href="#portfolio-images" role="tab" data-toggle="tab" title="images"><i class="fa fa-camera pr-5"></i> Photo</a></li>
                            <li><a href="#portfolio-video" role="tab" data-toggle="tab" title="video"><i class="fa fa-video-camera pr-5"></i> Video</a></li>
                        </ul>
                        <!-- Tab panes -->
                        <div class="tab-content clear-style">
                            <div class="tab-pane active" id="portfolio-images">
                                <div class="owl-carousel content-slider-with-controls">
                                    <div class="overlay-container">
                                        <img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/portfolio-item-1.jpg" alt="">
                                        <a href="<?php echo Yii::app()->theme->baseUrl; ?>/images/portfolio-item-1.jpg" class="popup-img overlay" title="image title"><i class="fa fa-search-plus"></i></a>
                                    </div>
                                    <div class="overlay-container">
                                        <img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/portfolio-item-2.jpg" alt="">
                                        <a href="<?php echo Yii::app()->theme->baseUrl; ?>/images/portfolio-item-2.jpg" class="popup-img overlay" title="image title"><i class="fa fa-search-plus"></i></a>
                                    </div>
                                    <div class="overlay-container">
                                        <img src="<?php echo Yii::app()->theme->baseUrl; ?>/images/portfolio-item-3.jpg" alt="">
                                        <a href="<?php echo Yii::app()->theme->baseUrl; ?>/images/portfolio-item-3.jpg" class="popup-img overlay" title="image title"><i class="fa fa-search-plus"></i></a>
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="portfolio-video">
                                <div class="embed-responsive embed-responsive-16by9">
                                    <iframe class="embed-responsive-item" src="//player.vimeo.com/video/29198414?byline=0&amp;portrait=0"></iframe>
                                    <p><a href="http://vimeo.com/29198414">Introducing Vimeo Music Store</a> from <a href="http://vimeo.com/staff">Vimeo Staff</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <hr>
                <div class="row">
                    <div class="col-md-3 col-xs-6">
                        <h3>Meet Clic</h3>
                        <ul class="list">
                            <li><strong class="vertical-divider">Empresa </strong><?php echo $informacionEmpresa->nombre ?></li>
                            <li><strong class="vertical-divider">Tipo de Empresa </strong> <?php echo $informacionEmpresa->industria->nombre ?></li>
                            <li><strong class="vertical-divider">Dirección </strong><?php echo!empty($informacion_direccion) ? $informacion_direccion[0]['calle_principal'] . " y " . $informacion_direccion[0]['calle_secundaria'] : "No Asignado " ?></li>
                            <li><strong class="vertical-divider">Nº Casa </strong> <?php echo!empty($informacion_direccion) ? $informacion_direccion[0]['numero'] : "No Asignado" ?></li>
                            <li><strong class="vertical-divider">Referencia</strong> <?php echo!empty($informacion_direccion) ? $informacion_direccion[0]['referencia'] : "No Asignado" ?></li>
                            <li><strong class="vertical-divider">Correo</strong> <?php echo $informacionEmpresa->email ? $informacionEmpresa->email : "No Asignado" ?></li>
                            <li><strong class="vertical-divider">Página Web </strong> <a href="#"><?php echo $informacionEmpresa->website ? $informacionEmpresa->website : "No Asignado" ?></a></li>
                            <li><strong class="vertical-divider">Teléfono Celular </strong> <?php echo $informacionEmpresa->celular ? $informacionEmpresa->celular : "No Asignado" ?></li>
                            <li><strong class="vertical-divider">Teléfono Fijo </strong><?php echo $informacionEmpresa->telefono ? $informacionEmpresa->telefono : "No Asignado" ?></li>
                        </ul>
                    </div>
                    <div class="col-md-3 col-xs-6">
                        <h3>!Siguenos en¡</h3>
                        <div id="share"><ul class="social-links clearfix"><li class="facebook"><a href="#"><i class="fa fa-facebook"></i></a></li><li class="twitter"><a href="#"><i class="fa fa-twitter"></i></a></li><li class="googleplus"><a href="#"><i class="fa fa-google-plus"></i></a></li></ul></div>
                    </div>
                    <div class="col-md-6 col-xs-12">
                        <h3>Más Información.</h3>
                        <p>Suscribete y haremos llegar más información detallada.</p>
                        <form role="form">
                            <div class="form-group has-feedback">
                                <input type="email" class="form-control" id="exampleInputEmail3" placeholder="Email">
                                <i class="fa fa-envelope-o form-control-feedback"></i>
                            </div>
                            <a href="#" class="btn btn-white margin-top-clear">Subscribete</a>
                        </form>
                    </div>
                </div>
            </div>
            <!-- main end -->

        </div>
    </div>
</section>
<!-- main-container end -->

<!-- section start -->
<!-- ================ -->
<div class="section dark-translucent-bg parallax-bg-3 parallax">
    <div class="container">
        <div class="call-to-action">
            <div class="row">
                <div class="col-md-8">
                    <h1 class="title text-center">We offer more possibilities to meet your every need.</h1>
                </div>
                <div class="col-md-4">
                    <div class="text-center">
                        <a href="#" class="btn btn-default btn-lg">Purchase</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- section end -->

<!-- section start -->
<!-- ================ -->
<!--<div class="section clearfix">

    <div class="container">
        <div class="row">
            <div class="col-md-12">

                <h2>Related Projects</h2>
                <div class="separator-2"></div>
                <p>Sed ut Perspiciatis Unde Omnis Iste Sed ut sit  voluptatem accusan tium </p>
                <div class="owl-carousel carousel">
                    <div class="image-box object-non-visible" data-animation-effect="fadeInLeft" data-effect-delay="300">
                        <div class="overlay-container">
                            <img src="<?php // echo Yii::app()->theme->baseUrl; ?>/images/portfolio-1.jpg" alt="">
                            <a href="portfolio-item.html" class="overlay small">
                                <i class="fa fa-link"></i>
                                <span>Web Design</span>
                            </a>
                        </div>
                        <a href="portfolio-item.html" class="btn btn-light-gray btn-lg btn-block">Project Title</a>
                    </div>
                    <div class="image-box object-non-visible" data-animation-effect="fadeInLeft" data-effect-delay="200">
                        <div class="overlay-container">
                            <img src="<?php // echo Yii::app()->theme->baseUrl; ?>/images/portfolio-2.jpg" alt="">
                            <a href="portfolio-item.html" class="overlay small">
                                <i class="fa fa-link"></i>
                                <span>Web Design</span>
                            </a>
                        </div>
                        <a href="portfolio-item.html" class="btn btn-light-gray btn-lg btn-block">Project Title</a>
                    </div>
                    <div class="image-box object-non-visible" data-animation-effect="fadeInLeft" data-effect-delay="100">
                        <div class="overlay-container">
                            <img src="<?php // echo Yii::app()->theme->baseUrl; ?>/images/portfolio-3.jpg" alt="">
                            <a href="portfolio-item.html" class="overlay small">
                                <i class="fa fa-link"></i>
                                <span>Web Design</span>
                            </a>
                        </div>
                        <a href="portfolio-item.html" class="btn btn-light-gray btn-lg btn-block">Project Title</a>
                    </div>
                    <div class="image-box object-non-visible" data-animation-effect="fadeInLeft" data-effect-delay="0">
                        <div class="overlay-container">
                            <img src="<?php // echo Yii::app()->theme->baseUrl; ?>/images/portfolio-4.jpg" alt="">
                            <a href="portfolio-item.html" class="overlay small">
                                <i class="fa fa-link"></i>
                                <span>Web Design</span>
                            </a>
                        </div>
                        <a href="portfolio-item.html" class="btn btn-light-gray btn-lg btn-block">Project Title</a>
                    </div>
                    <div class="image-box">
                        <div class="overlay-container">
                            <img src="<?php // echo Yii::app()->theme->baseUrl; ?>/images/portfolio-5.jpg" alt="">
                            <a href="portfolio-item.html" class="overlay small">
                                <i class="fa fa-link"></i>
                                <span>Web Design</span>
                            </a>
                        </div>
                        <a href="portfolio-item.html" class="btn btn-light-gray btn-lg btn-block">Project Title</a>
                    </div>
                    <div class="image-box">
                        <div class="overlay-container">
                            <img src="<?php // echo Yii::app()->theme->baseUrl; ?>/images/portfolio-6.jpg" alt="">
                            <a href="portfolio-item.html" class="overlay small">
                                <i class="fa fa-link"></i>
                                <span>Web Design</span>
                            </a>
                        </div>
                        <a href="portfolio-item.html" class="btn btn-light-gray btn-lg btn-block">Project Title</a>
                    </div>
                    <div class="image-box">
                        <div class="overlay-container">
                            <img src="<?php // echo Yii::app()->theme->baseUrl; ?>/images/portfolio-7.jpg" alt="">
                            <a href="portfolio-item.html" class="overlay small">
                                <i class="fa fa-link"></i>
                                <span>Web Design</span>
                            </a>
                        </div>
                        <a href="portfolio-item.html" class="btn btn-light-gray btn-lg btn-block">Project Title</a>
                    </div>
                    <div class="image-box">
                        <div class="overlay-container">
                            <img src="<?php // echo Yii::app()->theme->baseUrl; ?>/images/portfolio-8.jpg" alt="">
                            <a href="portfolio-item.html" class="overlay small">
                                <i class="fa fa-link"></i>
                                <span>Web Design</span>
                            </a>
                        </div>
                        <a href="portfolio-item.html" class="btn btn-light-gray btn-lg btn-block">Project Title</a>
                    </div>
                </div>

            </div>
        </div>
    </div>

</div>-->
<!-- section end -->

<!-- section start -->
<!-- ================ -->
